<?php
@include_once("services/classes/MError.php");
@include_once("classes/MError.php");
class Telegramme {
    var $_explicitType = "mymyoux.io.AMFPHPClasses.Telegramme";
    var $calls;
    var $value;
    var $errors;
    
    public function Telegramme()
    {
        $this->calls=Array();
        $this->errors=Array(); 
    }
    public function push($name,$value)
    {   
        $this->calls[]=$name;
        $this->calls[]=$value;
    }
    public function error($error)
    {
        $this->errors[$error->getId()]=$error->getMessage();
    }
    public function setValue($val)
    {
        $this->value=$val;
    }
    public function __toString() 
    {
        return "[".__CLASS__." value='".$this->value."' calls='".sizeof($this->calls)."' errors='".sizeof($this->errors)."']";
    }
}
?>